#!/bin/bash
read -p "please enter(y,n):" yn

if [ "$yn" == "y" ]; then
    echo "input:y"
elif [ "$yn" == "n" ]; then
    echo "input:n"
fi
    echo "input:not y and n"

